package com.atguigu.gulimall.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * ?Ż?ȯ??ȡ??ʷ??¼
 * 
 * @author WMT
 * @email ${email}
 * @date 2023-03-10 23:05:44
 */
@Data
@TableName("sms_coupon_history")
public class CouponHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private int id;
	/**
	 * ?Ż?ȯid
	 */
	private int couponId;
	/**
	 * ??Աid
	 */
	private int memberId;
	/**
	 * ??Ա?
	 */
	private String memberNickName;
	/**
	 * ??ȡ??ʽ[0->??̨???ͣ?1->??????ȡ]
	 */
	private int getType;
	/**
	 * ????ʱ?
	 */
	private LocalDateTime createTime;
	/**
	 * ʹ??״̬[0->δʹ?ã?1->??ʹ?ã?2->?ѹ???]
	 */
	private int useType;
	/**
	 * ʹ??ʱ?
	 */
	private LocalDateTime useTime;
	/**
	 * ????id
	 */
	private int orderId;
	/**
	 * ?????
	 */
	private int orderSn;

}
